import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

export default async function a008(fd: IFeidaoAiBrowserComponent) {
	// todo
	const p2 = fd.data.node.querySelector<HTMLInputElement>('[data-id="plan_mark1"]');

	const request_dateup = fd.data.node.querySelector<HTMLDivElement>('[data-id="request_dateup"]');
	const plan_cycleup = fd.data.node.querySelector<HTMLDivElement>('[data-id="plan_cycleup"]');


	if (p2.checked) {
		request_dateup.setAttribute('class', 'display-ib ');
		plan_cycleup.setAttribute('class', 'display-ib display-n');
	} else {
		request_dateup.setAttribute('class', 'display-ib  display-n');
		plan_cycleup.setAttribute('class', 'display-ib');
	}
}
